/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.pig4cloud.pig.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig4cloud.pig.common.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 *
 *
 * @author pig code generator
 * @date 2022-04-14 16:05:35
 */
@Data
@TableName("xlm_index_img")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "")
public class XlmIndexImg extends BaseEntity {

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * img
     */
    @NotBlank(message = "图片不能为空")
    @ApiModelProperty(value="img")
    private String img;

    /**
     * title
     */
    @ApiModelProperty(value="title")
    private String title;

    /**
     * 播放顺序
     */
    @ApiModelProperty(value="播放顺序")
    private String imgindex;

    /**
     * 跳转连接
     */
    @ApiModelProperty(value="跳转连接")
    private String jumpUrl;

    /**
     * 是否生效：0-未生效， 1-生效
     */
    @ApiModelProperty(value="是否生效：0-未生效， 1-生效")
    private String isAct;


}
